<?php

namespace app\validate;

use think\Validate;

class ProductionManageValidate extends Validate
{

    /**
     * EpisodeTaskCount 获取当前月计划代办任务进度
     * @return ProductionManageValidate
     */
    public function sceneEpisodeTaskCount(): ProductionManageValidate
    {
        return $this->append([
            'project_id' => 'require|integer',
//            'step_category_ids' => 'array',
            'episode_id' => 'integer',
        ]);
    }

    /**
     * ReviewFeedbackCount 审核反馈统计
     * @return ProductionManageValidate
     */
    public function sceneReviewFeedbackCount(): ProductionManageValidate
    {
        return $this->append([
            'project_id' => 'require|integer',
            'review_feedback_id' => 'integer',
        ]);
    }
}